package cn.lixu.system.controller;

import cn.lixu.system.domain.Systemdictionarydetail;
import cn.lixu.system.service.ISystemdictionarydetailService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Dictionary;
import java.util.List;

@RestController
@RequestMapping("/dictionary")
public class DictionaryController {

    @Autowired
    private ISystemdictionarydetailService service;
    @GetMapping("/{id}")
    public List<Systemdictionarydetail> findById1(@PathVariable("id") Long id){
        return service.findById1(id);
    }
}

